'use strict';
const db = uniCloud.database();
exports.main = async (event, context) => {
	const order = db.collection("order");
	let res = await order.add(event);
	return res;
};